package com.decelo.jpa.result;

/**
 * @author :JronZhang Create_Time:2018-12-29 1:55
 */
public class Result {
    private int code;
    private String msg;
    private Object object;

    public Result(int code, String msg, Object object) {
        this.code=code;
        this.msg=msg;
        this.object=object;
    }

    public Result(String msg){
        this.msg=msg;
    }

    public Result(){}

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
